package com.mrzhou.common.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mrzhou.common.entity.parent.TenantEntity;
import com.mrzhou.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 用户表
 */
@TableName("cloud_user")
@Getter
@Setter
@ApiModel("用户实体类")
public class User extends BaseEntity {

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("用户的呢称")
    private String nickName;

    @ApiModelProperty("用户的真实名称")
    private String realName;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("用户性别, 1男, 2女")
    private String sex;

    @ApiModelProperty("用户权限id")
    private String roleId;

    @ApiModelProperty("部门id")
    private String deptId;

}
